package com.xlh.dao;

import com.xlh.dto.UserMessageDTO;
import com.xlh.pojo.UserMessageDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhr 2019/3/6
 */
public interface UserMessageDetailsMapperExt {
    List<UserMessageDTO> selectUserMessage(@Param("userId") Long userId, @Param("read") Boolean read);

    void insertBatch(List<UserMessageDetails> list);

    Long selectMaxId();
}
